<template>
<div>

  <van-card
    :price="obj.price"
    :desc="obj.desc"
    :title="obj.title"
    :thumb="'http://liufusong.top:8080'+obj.houseImg">
  <template #tags>
    <van-tag color="skyblue" plain>{{obj.tags[0]}}</van-tag>
  </template>
  </van-card>

</div>
</template>

<script>
// import { geiHousesList } from '@/api'

export default {
  data () {
    return {
      // housesList: []

    }
  },
  methods: {

  },
  props: {
    obj: { // 文章信息对象
      type: Object,
      default () {
        return {}
      }
    }
  },
  components: {
  }
  // methods: {
  //   async getlist () {
  //     // const res = await geiHousesList()
  //     // this.housesList = res
  //   }
  // }
}

</script>

<style lang="less" scoped>
/deep/ van-tag{
  background-color:#e1f5f8;
  color: #3abecd;
  margin: 3px;
  padding: 2px;
  // border: 0.5px solid ;
  Border-radius:20%
}
</style>>
